package com.beans;

/**
 * Created with IntelliJ IDEA.
 * User:xieChao
 * Date:2022/11/29 19:13
 */
public class User {
    private int userId ;
    private String userName ;

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                '}';
    }

    public int getUserId() {
        this.userId = 0;
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        this.userName = "xc";
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
